<?php
declare (strict_types=1);

namespace addons\BuilderPlus\contract;

use think\Model;
use think\model\concern\SoftDelete;

class BaseModel extends Model
{
    use SoftDelete;

    protected $deleteTime = 'delete_time';

    protected $defaultSoftDelete = 0;

    protected function readTransform($value, array|string $type)
    {
        return empty($value) ? '' : parent::readTransform($value, $type);
    }

}
